#ifndef EDITWIDGET_H
#define EDITWIDGET_H

#include <QDialog>
#include"graph.h"
namespace Ui {
class editwidget;
}

class editwidget : public QDialog
{
    Q_OBJECT

public:
    explicit editwidget(Graph *a,QWidget *parent = nullptr);
    ~editwidget();
    QString bcity;
    QString lcity;
    bool type;
    QString nbtime;
    QString nltime;
    Graph *tmp;
    QVector<Tinfo*>vec;
private slots:
    void on_pushButton_clicked();

    void on_pushbutton_cancel_clicked();

    void on_pushButton_OK_clicked();

private:
    Ui::editwidget *ui;
};

#endif // EDITWIDGET_H
